/**
 * FlightQueryForm
 */
package com.longtop.leaning.ui;

import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.CommandListener;
import javax.microedition.lcdui.Displayable;
import javax.microedition.lcdui.Form;
import javax.microedition.lcdui.TextField;

import com.longtop.leaning.data.FlightUIData;
import com.longtop.leaning.midlet.FlightMIDlet;

public class FlightQueryForm extends Form implements CommandListener {

	private FlightMIDlet _flightMIDlet = null;
	private static TextField _flightIDTextField = null;
	
	private static TextField _startDateTextField = null;
	
	public FlightQueryForm(FlightMIDlet flightMIDlet) {
		super("航班查询");	
		_flightMIDlet = flightMIDlet;
		_flightIDTextField = new TextField ("航班号：", "", 15, TextField.ANY);
		_startDateTextField = new TextField ("日期：", "", 15, TextField.ANY);
		this.append (_flightIDTextField);
		this.append (_startDateTextField);
		this.addCommand(FlightUIData.CMD_EXIT);
		this.addCommand(FlightUIData.CMD_OK);
		this.setCommandListener(this);	
		
	}


	public void commandAction(Command arg0, Displayable arg1) {
		// TODO Auto-generated method stub

	}

}
